Page({
    data: {
      headerHeight: 214,
      headerItem: [
        [{ path: "https://bd-s.tripcdn.cn/modules/basebiz/h5home/hotel.fc17d0f7726132bf2459621923704f0f.png", text: "酒店" },
        { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/flight.2af1e1835a10709db9ad91702e30de35.png", text: "机票" },
        { path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/train_ticket.62fc76e6f4ffac3d2e4610c807f535bb.png", text: "火车票" },
        { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/vacation.50ea6db60ea69086791ea507b62364bb.png", text: "旅游" },
        { path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/gs.24c525633ba91ad0a2c41ff96773262b.png", text: "攻略/景点" },
        { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/hotel_inn.cbccfdc8449dea7bf83171dfa7ea6f81.png", text: "名宿/客栈" },
        { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/flight_package.7485a98b650ea13917e3cdd36f3eda67.png", text: "机+酒" },
        { path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/bus_ticket.19d2e8eb864288544912b3c1005c9a8e.png", text: "汽车/船票" },
        { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/ticket.e872065047ec929016de33d36e578e49.png", text: "门票/活动" },
        { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/shop.dba5be1f7b683690ea1d53bdd9ecef8f.png", text: "购物/免税" },
        { path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/food_v2.759e14ab287956e9925f669ec1ef2169.png", text: "美食" },
        { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/airport_transfer.fb8d923aefb7393a3485ebcde0888932.png", text: "接送机/包车" },
        { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/car.d343444e248183e0c2ce61894012a327.png", text: "租车" },
        { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/weekend.b327d041f73dd403971831a874eb25e9.png", text: "周边游" },
        { path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/finance.5cd5a7a955c6e5c633e6ae4e2b6cd551.png", text: "借钱/分期" },
      ],[{
        path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/hpgs_guide.c4c7aa66032ef995136fb5d92a1cc9da.png",
        text: "向导/包车"
      }, {
        path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/insurance.ec149a1dec5e6803f2b88290c99fa56c.png",
        text: "保险"
      }, {
        path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/vtm.4b7ff6bddd0b21f3e92d1fa1ec41a0dc.png",
        text: "徽领队"
      }, {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/oneday.4fac0806c732ddc0e37d56969f92d2f3.png",
        text: "一日游"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/custom.56a6b6db26e37f09ebc593c1ac6d13c1.png",
        text: "定制游"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/cruise.e66cd5e4d0759b090142a5f84c9d7896.png",
        text: "轮游"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/exchange.17e163edbb0d53ee73743092dac0bba9.png",
        text: "外币兑换"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/visa.5f08517e1f62034f2abd06ca47d70559.png",
        text: "签证"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/wifi.ac1863182c3866811836d375eb4d20e5.png",
        text: "WiFi电话卡"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/lvpai.09b76db1c3e096b532ba90325c9dd0b9.png",
        text: "旅游·跟拍"
      },
      {
        path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/flight_schedule.cef3ed6d45a8723efb4a95ec7d5312aa.png",
        text: "航班助手"
      },
      {
        path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/cost.1373427f7b26bd92ef1d413dbacdc096.png",
        text: "拿去花"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/gift_card.8c7a17e90acc08bfa2bc5be10f9d4b5b.png",
        text: "礼品卡"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/credit_card.eea3d6c0fb749362a6418cdbd24888f7.png",
        text: "信用卡"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/member.c5624f964f3892da2c01d996e5233007.png",
        text: "会员/签到"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/supermember.fb6d01eb5298141f0bc572cd94154df1.png",
        text: "超值旅行家"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/rewards.c1302d78d8094c78a9768aa6b578dddb.png",
        text: "会员商城"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/xiaoshiji.1c6588a11feef97907e952edcc4e5480.png",
        text: "携程小诗机"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/sos.20c13da52f8ff660f5b6807a799b03b3.png",
        text: "紧急救援"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/cooperation.1f11ba99b09bfc288449ac23e253671a.png",
        text: "加盟合作"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/mice.87b43913b744f893b4f9493986046f8f.png",
        text: "会展旅游"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/corpctrip.02c3555f8f7609e02373ac87ce71e016.png",
        text: "企业差旅"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/trip.4fc7db341a13af5153b3a5ebaa965b72.png",
        text: "Trip.com"
      },
      {
        path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/aria.9829d112261a461b876f0de6c348cb57.png",
        text: "关怀版"
      }
      ]],
      list: [
          {
              name:"上海度假农庄榜，逃离城市的治愈好去处",
              url:"https://dimg02.c-ctrip.com/images/1mc1312000d1bnempBBA5.jpg",
              avater:"",
              logo:"https://dimg04.c-ctrip.com/images/0AS64120009k1ouumABBE.png",
              logobg:"https://dimg04.c-ctrip.com/images/0AS4u120009k1p2p9C257.png",
              logoname:"https://dimg04.c-ctrip.com/images/0AS2z120009k1p6py8436.png",
              logocentent:"4亿旅行者的口碑之选",
          },
          {
            name:"真没想到，香港还有一个一秒就能穿越到海边的地方，那就是屯门",
            url:"https://dimg04.c-ctrip.com/images/1me4r12000dj9tin5297B.jpg",
            avater:"https://dimg04.c-ctrip.com/images/0104h1200082xud8qB94B.png",
            appellation:"徐风趣旅行",
            avatername:"签约旅行家"
        },
        {
            name:"和男友开房之泉州篇!!不想退房",
            url:"https://dimg04.c-ctrip.com/images/1me5012000eh5jk3c2F6B.jpg",
            avater:"https://dimg04.c-ctrip.com/images/0Z83g12000dxh9c9jC794.jpg",
            appellation:"",
            avatername:"小陈的旅行景点"
        },
        {
            name:"2354657",
            num:"124",
            title:"242323",
            url:"https://dimg04.c-ctrip.com/images/1me6m12000eehc01cA63A.jpg",
            avater:"https://dimg04.c-ctrip.com/images/0AS64120009k1ouumABBE.png",
            appellation:"徐风趣旅行",
            avatername:"签约旅行家"
        },
        {
            name:"上海",
            num:"10",
            title:"11111",
            url:"https://dimg04.c-ctrip.com/images/0305k1200091zxvemFD6A_C_160_160.jpg",
            avater:"https://dimg04.c-ctrip.com/images/0305k1200091zxvemFD6A_C_160_160.jpg",
            appellation:"徐风趣旅行",
            avatername:"签约旅行家"
        },
      {
          name:"777777",
          num:"104",
          title:"453353",
          url:"https://dimg04.c-ctrip.com/images/100p0b00000057x0o1540_C_160_160.jpg",
          avater:"https://dimg04.c-ctrip.com/images/100p0b00000057x0o1540_C_160_160.jpg",
          appellation:"徐风趣旅行",
            avatername:"签约旅行家"
      },
      {
          name:"2354657",
          num:"124",
          title:"242323",
          url:"https://dimg04.c-ctrip.com/images/20051g000001h7loy5286_R_300_225_R5_Q70_D.jpg",
          avater:"https://dimg04.c-ctrip.com/images/20051g000001h7loy5286_R_300_225_R5_Q70_D.jpg",
          appellation:"徐风趣旅行",
            avatername:"签约旅行家"
      },
      ],
      images: [
        { url: "https://dimg04.c-ctrip.com/images/0zg5412000en37fhp2DCD.jpg"},
        { url: "https://dimg04.c-ctrip.com/images/0zg2x12000elxdi4f1CB7.jpg"},
        { url: "https://dimg04.c-ctrip.com/images/0zg6q12000cp1ob6x1C88.jpg"},
        { url: "https://dimg04.c-ctrip.com/images/0zg4k12000eimks0o3AF5.jpg"}
      ],
      activity: [
        { url: "https://dimg04.c-ctrip.com/images/20051g000001h7loy5286_R_300_225_R5_Q70_D.jpg", title: "现金红包", content: "邀好友免费领" },
        { url: "https://dimg04.c-ctrip.com/images/0zg5412000en37fhp2DCD.jpg", title: "能量大富翁", content: "集卡开好礼" },
        { url: "https://dimg04.c-ctrip.com/images/0zg2x12000elxdi4f1CB7.jpg", title: "每日抽奖", content: "超多免费福利" },
        { url: "https://dimg04.c-ctrip.com/images/0zg6q12000cp1ob6x1C88.jpg", title: "JJ斗地主", content: "海量实物兑换" },
        { url: "https://dimg04.c-ctrip.com/images/0zg4k12000eimks0o3AF5.jpg", title: "老友会福利", content: "超值精品游" },
        { url: "https://dimg04.c-ctrip.com/images/20051g000001h7loy5286_R_300_225_R5_Q70_D.jpg", title: "JJ麻将", content: "兑话费兑大米" }
      ],
      items:[
        {"id":"100200120071","imageUrl":"https://dimg02.c-ctrip.com/images/1mc1312000d1bnempBBA5.jpg","jumpurl":"https://m.ctrip.com/webapp/xranking/cranking/crankingCity/100200120071.html?ishideheader=true&isHideNavBar=YES&seo=0&skipAb=true&src=home_waterfall_flow&crankingdata={\"traceid\":\"0ee26a6c-5ad2-4d06-7c43-df8957ad8139\"}&source_from_tag=uvsource_uccrank_100200120071_widget_feeds","type":"channel","title":"上海度假农庄榜，逃离城市的治愈好去处","img":{"img1":{"url":"https://dimg02.c-ctrip.com/images/1mc1312000d1bnempBBA5.jpg","width":"3236","height":"4480"},"img2":{"url":"https://dimg02.c-ctrip.com/images/1mc1312000d1bnempBBA5.jpg","width":"3236","height":"4480"},"img3":{"url":"https://dimg02.c-ctrip.com/images/1mc1312000d1bnempBBA5.jpg","width":"3236","height":"4480"}},"channelInfo":{"id":"Rank.listW","name":"携程口碑榜","iconUrl":"https://dimg04.c-ctrip.com/images/0AS64120009k1ouumABBE.png","text":"4亿旅行者的口碑之选","fontColor":"BB652B","backgroundUrl":"https://dimg04.c-ctrip.com/images/0AS4u120009k1p2p9C257.png","image1":{"url":"https://dimg04.c-ctrip.com/images/0AS2z120009k1p6py8436.png","width":"231","height":"60"}},"viewStyle":{"background":{"startcolor":"FFFFFF","endcolor":"F4E3D1"}},"ext":{"biztype":"Rank","cityid":"2","cityname":"上海","modification":"0","redirection":"0","extension":"{\"scene\":\"waterflow.WECHATAPPLET\",\"recfrom\":\"{\\\"biztype\\\":\\\"applet\\\",\\\"traceId\\\":\\\"0ee26a6c-5ad2-4d06-7c43-df8957ad8139\\\",\\\"cmm\\\":\\\"0.0014\\\",\\\"clk\\\":\\\"0.1829\\\",\\\"pageIndex\\\":\\\"0\\\",\\\"dropScore\\\":\\\"0.0520\\\",\\\"rank\\\":\\\"0.1829\\\",\\\"intentCity\\\":\\\"2\\\",\\\"strategy\\\":\\\"RANCD_RANID\\\",\\\"mix\\\":\\\"10.9724\\\",\\\"dr\\\":\\\"0.0210\\\"}\",\"productid\":\"100200120071\",\"producttype\":\"Rank\",\"datasource\":\"ai\"}"}}
      ]
    },
  
    headerSwipchange(e) {
      // 打印日志检查 `e.detail.current` 的值
      console.log('Swiper change event detected. Current index:', e.detail.current);
  
      let headerHeight = 214;
      if (e.detail.current == 1) {
        headerHeight = 326;
      }
      this.setData({ headerHeight });
    },
  
    onLoad(options) {
      // 页面加载逻辑
    },
  
    onReady() {
      // 页面初次渲染完成逻辑
    },
  
    onShow() {
      // 页面显示逻辑
    },
  
    onHide() {
      // 页面隐藏逻辑
    },
  
    onUnload() {
      // 页面卸载逻辑
    },
  
    onPullDownRefresh() {
      // 用户下拉动作逻辑
    },
  
    onReachBottom() {
      // 页面上拉触底逻辑
    },
  
    onShareAppMessage() {
      // 用户点击右上角分享逻辑
    }
  });